﻿
using System.Windows.Forms;

namespace ExtendedDotNET.Controls.RaisedPanel
{
    public partial class RaisedPanel : Panel
    {
        const int WS_EX_DLGMODALFRAME = 0x00000001;

        protected override CreateParams CreateParams
        {
            get
            {
                CreateParams p = base.CreateParams;
                p.ExStyle = p.ExStyle | WS_EX_DLGMODALFRAME;
                return p;
            }
        }

        public RaisedPanel()
        {
            InitializeComponent();
        }
    }

}
